//
//  YDAccountMonyModel.m
//  PeiZiWangBei
//
//  Created by 巨彦新 on 2017/12/1.
//  Copyright © 2017年 LK-IOS. All rights reserved.
//

#import "YDAccountMonyModel.h"

@implementation YDAccountMonyModel


+ (NSDictionary *)mj_replacedKeyFromPropertyName
{
    return @{
             @"Id" : @"id"
             };
}


-(NSString *)wanValue
{
    if (!self.value) {
        return @"1";
    }else{
        return [self.value pz_stringNumberByDividingBy:@"10000"];
    }
}

-(NSString *)wanMount
{
    if (!self.amount) {
        return @"0";
    }else
    {
        return [self.amount pz_stringNumberByDividingBy:@"10000"];
    }
}
@end
